import { defineStore } from 'pinia'

interface IForm {
  // 查找内容
  searchContentText: string | undefined
  // 替换内容
  replaceContentText: string | undefined
}

const useReplaceContentFormStore = defineStore('replaceContentForm', {
  state(): IForm {
    return {
      searchContentText: undefined,
      replaceContentText: undefined
    }
  }
})

export default useReplaceContentFormStore
